package UserCredentials;

import java.util.HashMap;
import java.util.Map;

public class UserCredentials {
    public static void main(String[] args)
    {
        Map<String,String> userMap = new HashMap<>();

        userMap.put("user1","password1");
        userMap.put("user2","password2");
        userMap.put("user3","password3");
        userMap.put("user4","password4");
        userMap.put("user5","password5");

        for(Map.Entry<String,String> entry: userMap.entrySet())
        {
            System.out.println("用户名："+entry.getKey()+" 密码："+entry.getValue());
        }
    }
}
